# -*- coding: utf-8 -*-
# @Time    : 2022/4/19 15:02
# @File : yaml_driver.py
# @Author  : Yang
import yaml


# 读取yaml文件
def load_yaml(path):
    file = open(path, 'r', encoding='utf-8')
    data = yaml.load(file, Loader=yaml.FullLoader)
    return data
